Latest Questions

Slowmotion time limit

I made a player in my game, such that it goes into slow-motion when you hold down the space bar. But I want the player to only be available to be in slow-motion

Angular Ag-Grid row group empty render when querying DOM elements with angular-testing-library

I have an ag-grid that contains different columns and column groups, as well as row groups. I am trying to test the DOM elements displayed in the row group usin

What is this error "Cast to ObjectId failed for value "shop.css" (type string) at path "_id" for model "Product""?

I am trying to extract detail of products entered by that administrator. Here is the part of code dealing with that: router.get('/admin-product/:userid', (req,

PowerApps Delegation

i am trying to get past the 500 record delegation but cant do so. I prefer to fix the delegation than to set the record in advanced setting to 2000, i will have

after doing "npx sb init" (react storybook): node_modules/react-router/index.d.ts:151:74 - error TS1110: Type expected error

I am working on a large typescript react monorepo. In one of the packages I added react storybook using "npx sb init" After doing that, when I did a yarn build

Combination of features of convolutional layers channel-by-channel in a multi-branch model

The convolutional model presented below, has two branches and each branch (for example) has two stages (convolutional layers). My aim is to combine the weighte

Concatenate two variables for email subject

I am trying to fetch the attachment data from gmail to google sheets with identifier as subject. The subject format is such as "Disbursement File 2022-05-14" w

React - pass context to SweetAlert popup

My context is as follows: import React, {createContext, useEffect, useState} from "react"; export const CartContext = createContext(); const CartContextProvid

what are data-* HTML attributes?

I've recently found on one of the sites opening tag like this: <script data-ip="93.1xx.3.2x" data-backuri="something.com"> And I couldn't find any info

Flutter / Dart FFI existing .so file for Android

I'm trying to use a pre-compiled .so file with Flutter/Dart FFI. I've generated bindings with dart-ffigen, which seems to work without any issues. I've added th

Linkedin bot Selenium Beautiful Soup not reading email in /overalay/contact-info

So whenever i run the following code, it writes 'no mail found' in the email.txt file. Ive checked the classes in inspect and they're correct. Anyone has any id

UseStore is async? How to ensure that store-data is loaded completely?

I have a serious problem with State Management in React. I am using Zustand and it works pretty well. However, when I access the store and try to output it one

How to programmatically obtain a google cloud project number using its project id in Python

A google cloud project has both a project id and a project number. How can the project id be used to obtain the project number.

I'm using PDFBox to replace text, strange characters

I'm using PDFBox to replace text in a template and there are characters (e.g. a simple J) that the tool recognizes as a special character. Any help to solve thi

How do I integrate Ajax with Django applications?

I am new to Django and pretty new to Ajax. I am working on a project where I need to integrate the two. I believe that I understand the principles behind them b

state is not getting updated for a new user in react native

My app has a test sheet, if a user passes the test he is shown a passing screen and then the state is saved using asyncstorage. But the problem here is, let's s

Vite - empty assets folder (not whole outputDir)

Due to other construction services e.g. from the CMS that is in use also puts files in the same folder as outPutDir I only need to empty the assets folder. At t

Java stream min/max of separate variables

How can I determine both the min and max of different attributes of objects in a stream? I've seen answers on how get min and max of the same variable. I've als

Netlogo: move turtles to non-occupied patches and print it

I want to move turtles to one of patches not fully occupied (n-jobs-to-fill != 0). The code is ask turtles [move-to one-of patches with [n-jobs-to-fill != 0] A

Why I have the old version of database when I reload the page in vuejs? | vue js 2 [closed]

I have a project made with Vue.js 2 When user make a change in website, it sends to this change to the database. It is successfully saved. But

I want to put all the items of that were taken from a get api request in list format in Jmeter

I have a get api and I want to get all the ID's that are present in it and put them in a list/array so I can use it in other api where I want to seperate even a

Echarts multicolored line chart

Is it possible to make echarts line chart with 1 line painted in different colors? For example if value <= 0 the color is red, if > 0 the color is green?

media rules not working for diffrent window size?

here in html & css i am trying to create a responsive navbar This is my html code: <a href="" class="active">Contact</a>

Stacked barchart in Vega

I am trying to make a stacked barchart in Vega and have hit a wall where I swear that my code should work, based on the several examples I've been cross referen

How to set PHP executable path php.validate.executablePath in VCSode when PHP is installed inside a virtual machine?

I want to use Xdebug in Visual Studio Code using the Xdebug extension. My development environment is installed inside an Ubuntu VM. VSCode is installed on my Wi

How to replace an user's authentication 'http.formLogin()' with a form that is on another frontend server?

Inside a class that extends WebSecurityConfigurerAdapter, I have this authencitation method. I store my users inside an Active Directory. @Override publ

Could not convert Tex math in Rmarkdown

I am trying to write an algebraic equation in Rmarkdown but its rending as text as opposed to an algebraic equation. The warning below for reference; [WARNING]

Currency convert based on geolocation

I am working on wordpress elementor. I tried some plugins for currency conversion but didn't worked out. As my pricing is mentioned in the text box, i didn't r

getOutlineShape is deprecated, is there another method to change the hitbox?

I'm making a block that does not occupy a full block in Fabric 1.18. I've tried the following code as suggested on the Fabric wiki. protected static final Voxel

Copy to a variable range returns an error '438' Object doesn't support property or method

I need to copy information from one sheet (labeled Testsheet), copy it to the next available empty row on the third sheet (Testsheet3), then rearrange the colum